home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 22 / PCPP #22.iso / Quake2 / q2source_12_11 / utils3 / qe4 / view.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-05  |  546 b   |  33 lines

  1.  
  2.  
  3. typedef struct
  4. {
  5.     int        x, y;
  6.     int        w, h;
  7.  
  8.     int        redraws;    // clear to 0 when need update
  9.  
  10.     vec3_t    color;
  11.  
  12.     vec3_t    origin;
  13.     vec3_t    angles;
  14.     vec3_t    forward, right, up;
  15.  
  16.     int        draw_filtered;
  17.     int        draw_wire;
  18.     int        draw_solid;
  19.     int        draw_textured;
  20.     int        draw_blend;
  21. } vieworg_t;
  22.  
  23. extern    vieworg_t    *view_org;
  24. extern    int            keysdown;
  25.  
  26. void View_Init (void);
  27. void View_Draw (void);
  28. void View_MouseDown (int x, int y, int buttons);
  29. void View_KeyUp (int key);
  30. void View_KeyDown (int key);
  31. void View_Reshape(int w, int h);
  32.  
  33.